<div class="pageContent">
    <form method="post"
        action="${rc.getContextPath()}/manage/failure/saveFailure"
        class="pageForm required-validate"
        onsubmit="return validateCallback(this, dialogAjaxDone);">
        <div class="pageFormContent">
            <input type="hidden" name="navTabId" value="${navTabId!''}">
            <input type="hidden" name="id"
                value="<#if (failure.failureCode)??>${failure.failureText!''}</#if>">
            <fieldset class="dataset">
                <dl>
                    <dt><@label key="failureCode.C,colon">故障代码：</@label></dt>
                    <dd>
                        <input name="failureCode"
                            value="<#if (failure.failureCode)??>${failure.failureCode!''}</#if>"
                            size="32" type="text" maxlength="20" class="required alphanumeric toUp"
                         readonly="readonly"/> 
                    </dd>
                </dl>
                <dl>
                    <dt><@label key="failureText.C,colon">故障描述：</@label></dt>
                    <dd>
                        <input readonly name="failureText"
                            value="<#if (failure.failureText)??>${failure.failureText!''}</#if>"
                            size="32" type="text" maxlength="60" class="required" />
                    </dd>
                </dl>
                <dl>
                    <dt>&nbsp;</dt>
                    <dd>
                        <label><input disabled type="checkbox" name="lockFlag" value="1"<#if
                            (failure.lockFlag)?? && (failure.lockFlag == 1)>
                            checked="true"</#if>><@label key="lock.C">锁定</@label></label>
                    </dd>
                </dl>
            </fieldset>
        </div>
        <#if (failure.failureCode)??> 
            <#assign createInfo=failure/>
            <#include "/common/createInfo.html">
        </#if>
        <div class="formBar">
            <ul>
                <li>
                    <div class="buttonActive">
                        <div class="buttonContent">
                                <button type="button" class="close"><@label key="close.B">关闭</@label></button>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </form>
</div>